package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.FestivalRemind;

import java.util.List;

@DBMapper
public interface FestivalRemindMapper {
    int deleteByPrimaryKey(Integer fId);

    int insert(FestivalRemind record);

    int insertSelective(FestivalRemind record);

    FestivalRemind selectByPrimaryKey(Integer fId);

    int updateByPrimaryKeySelective(FestivalRemind record);

    int updateByPrimaryKey(FestivalRemind record);

    List<FestivalRemind> selectListByCondition(FestivalRemind record);

    int deleteByfriendsId(String friendsId);

    int batchSetRemindShowFlag();

    int batchSetRemindYear();

    List<FestivalRemind> selectFriendsFestivals(FestivalRemind record);

    /***
     * 获取人脉圈前三天须提醒的数据
     * @param record
     * @return
     */
    List<FestivalRemind> selectRemindListByCondition(FestivalRemind record);
}